<?php 
namespace Zbsht\Model;
use Think\Model\RelationModel;


class ArticleRelationModel extends RelationModel{


	protected $tableName = 'article';


	protected $_link = [
		'user' => [
			'mapping_type'	=>	self::BELONGS_TO,
			'foreign_key'	=>	'uid',
			'as_fields'		=>	'username',
			// 'condition'		=>  'fdsafdsafsd',
		],
	];






}